<div class="modal fade in" ng-controller="addMember">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" ng-click="close()">
					<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
				</button>
				<h4 class="modal-title">添加成员</h4>
			</div>

			<form class="form-horizontal" name="myForm">
				<div class="line-distance" style="padding-left: 42px;margin-top: 26px;">
					<label class="label-style" style="vertical-align: top;width:14%;">输入成员 :</label>
					<div style="display: inline-block;; left: 127px; top: -16px">
						<cd-sel-multi sel-data="users" sel-selected="userNoList" sel-eight="getandupdate(num)"></cd-sel-multi>
						
					</div>
					<!--<textarea name="description" ng-model="commit.userNoList"
							maxlength="500" cols="30" rows="5" placeholder="请输入输入成员工号"></textarea>
						<p>可批量添加，以逗号分隔</p>-->
				</div>
				<!-- <div class="line-distance">
					<label class="label-style">角色</label> <select required="true"
						name="environmentType" ng-model="uploadApp.environmentType"
						ng-options="type as type  for type in data.envList">
						<option value="">请选择角色名称</option>
					</select>
				</div> -->
				<div class="line-distance" style="padding-left: 41px;margin-top: 26px;">
				    <label class="label-style" style="vertical-align: top;width:14%; position:relative;top:5px;">角色 :</label>
		            <select class="form-control" select2="select2roleDO" ng-model="roleDO"
		                ng-options="roleDO.roleName for roleDO in roleDOList"
		                type="text" class="form-control" ng-change="onChangeRoleDOSlelect(roleDO)"
		                ng-required="true" style="display: inline-block; width:175px">
		                <option value="">请选择角色名称</option>
		            </select>
		        </div>
			</form>
			<div class="modal-footer">
				<div>
					<button class="btn btn-primary" ng-disabled = "!myForm.$valid" ng-click="commit()">添 加</button>
					<button class="btn btn-primary reverse" ng-click="close()">取 消</button>
				</div>
			</div>
		</div>
	</div>
</div>